/* Sticky Icons Wrapper */

.sticky-contact-icons {
  position: fixed;
  bottom: 30px;
  left: 0;
  width: 100%;
  pointer-events: none; /* Allows clicks to pass through except icons */
  z-index: 999999;
}

/* Reusable Icon Styles */
.sticky-contact-icons a {
  position: absolute;
  bottom: 0;
  font-size: 2.6rem;
  color: white;
  padding: 20px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  pointer-events: auto;
  transition: transform 0.3s ease;
  text-decoration: none;
}

.phone-icon {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background: #0b5ed7;
  font-size: 1.6rem;
  color: white;
  padding: 16px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 999999; /* VERY HIGH — will stay above everything */
  text-decoration: none;
  animation: slideUp 0.8s ease-out 1s forwards,
    pulseAttention 2s ease-in-out 4s infinite;
}

/* Sticky WhatsApp Icon */
.whatsapp-icon {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #25d366;
  font-size: 1.6rem;
  color: white;
  padding: 16px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 999999; /* VERY HIGH — will stay above everything */
  text-decoration: none;
  animation: slideUp 0.8s ease-out 1s forwards,
    pulseAttention 2s ease-in-out 4s infinite;
}

.phone-icon:hover,
.whatsapp-icon:hover {
  transform: scale(1.2) translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

@keyframes bulge-bounce {
  0% {
    transform: scale(1) translateY(0);
  }
  30% {
    transform: scale(1.25) translateY(-8px);
  }
  60% {
    transform: scale(0.95) translateY(2px);
  }
  100% {
    transform: scale(1) translateY(0);
  }
}

@keyframes pulseAttention {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0.2);
  }
  50% {
    transform: scale(1.15);
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0.2);
  }
}

@keyframes slideUp {
  from {
    transform: translateY(80px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Tooltip */
.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip-text {
  visibility: hidden;
  opacity: 0;
  width: max-content;
  background-color: #333;
  color: #fff;
  text-align: center;
  font-size: 0.75rem;
  border-radius: 4px;
  padding: 6px 10px;
  position: absolute;
  bottom: 130%; /* above the icon */
  left: 50%;
  transform: translateX(-50%);
  transition: opacity 0.3s;
  white-space: nowrap;
  z-index: 10001;
}

.tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}
